package org.zxp.date;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @program: effectiveJava
 * @description:
 * @author: X-Pacific zhang
 * @create: 2021-06-10 19:13
 **/
public class ObjectDateTest {
    public static void main(String[] args){
//        Object o = new Date();
//        System.out.println(o instanceof Date);
//        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-mm-dd");
//        System.out.println(simpleDateFormat.format((Date)o));
//        1629947825829
//        1629947871
//        1590052158
        System.out.println(System.currentTimeMillis());
        Long a = 1L;
        Long b = 1L;
        System.out.println(a.hashCode());
        System.out.println(b.hashCode());
    }



}
